package com.ruan.service;

import com.ruan.entity.R;
import com.ruan.entity.Spu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruan.query.SpuQuery;

import java.util.List;

/**
* @author 59499
* @description 针对表【spu】的数据库操作Service
* @createDate 2023-09-11 20:16:23
*/
public interface SpuService extends IService<Spu> {

    R<List<Spu>> getSpuList(SpuQuery spuQuery);

    R<Spu> getSpuById(Integer id);

    R<Void> deleteSpuById(Integer id);
}
